package com.systop.front.owner.mapper;

import com.systop.commer.pojo.Banner;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OwnerMapper {
    @Select("select * from banner")
    List<Banner> bannerlist(Banner banner);

    @Select("select * from banner where banner_state = #{banner_state}")
    List<Banner> bannerliststate(int banner_state);
}
